package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 用户管理对象 tb_user
 * 
 * @author wangjiangbo
 * @date 2025-01-10
 */
public class TbbUser extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 用户id */
    private Long userId;

    /** 用户手机号 */
    @Excel(name = "用户手机号")
    private String userMobile;

    /** 用户邮箱 */
    @Excel(name = "用户邮箱")
    private String userEmail;

    /** 真实姓名 */
    @Excel(name = "真实姓名")
    private String userName;

    /** 身份证件号 */
    @Excel(name = "身份证件号")
    private String userCard;

    /** 用户密码 */
    @Excel(name = "用户密码")
    private String userPassword;

    /** 角色 */
    @Excel(name = "角色")
    private String role;

    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setUserMobile(String userMobile) 
    {
        this.userMobile = userMobile;
    }

    public String getUserMobile() 
    {
        return userMobile;
    }
    public void setUserEmail(String userEmail) 
    {
        this.userEmail = userEmail;
    }

    public String getUserEmail() 
    {
        return userEmail;
    }
    public void setUserName(String userName) 
    {
        this.userName = userName;
    }

    public String getUserName() 
    {
        return userName;
    }
    public void setUserCard(String userCard) 
    {
        this.userCard = userCard;
    }

    public String getUserCard() 
    {
        return userCard;
    }
    public void setUserPassword(String userPassword) 
    {
        this.userPassword = userPassword;
    }

    public String getUserPassword() 
    {
        return userPassword;
    }
    public void setRole(String role) 
    {
        this.role = role;
    }

    public String getRole() 
    {
        return role;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("userId", getUserId())
            .append("userMobile", getUserMobile())
            .append("userEmail", getUserEmail())
            .append("userName", getUserName())
            .append("userCard", getUserCard())
            .append("userPassword", getUserPassword())
            .append("role", getRole())
            .toString();
    }
}
